package TEST2;

public class Point {

        int x;
        int y;

        Point() {

        }

        Point(int x0, int y0) {
            x = x0;
            y = y0;
        }
        void movePoint(int dx,int dy){
            x+=dx;
            y+=dy;
            System.out.println("P1:"+x+"P2:"+y);
        }
    }

